<?php
/*
 * @Description: 
 * @Author: Simon
 * @Date: 2020-07-12 18:06:23
 * @LastEditTime: 2020-07-12 18:12:48
 * @LastEditors: Simon
 */ 
/**
 * Validator
 * PHP version 5
 *
 * @category Class
 * @package  LuckIn
 * @author   Simon
 */

namespace LuckIn\GuzzleMiddleware;

use Psr\Http\Message\ResponseInterface;

/**
 * Interface abstracting Validator.
 *
 * @package  LuckIn
 * @author   Simon
 */
interface Validator
{
    /**
     * Validate Response
     *
     * @param ResponseInterface $response Api response to validate
     *
     * @return bool
     */
    public function validate(ResponseInterface $response);
}
